#include "mydockwidget.h"
#include "mywebview.h"
myDockwidget::myDockwidget(const QString &title,
                           QWidget *parent,
                           Qt::WindowFlags flags)
    : QDockWidget(title,parent,flags)
    , m_pwebView(nullptr)
{
    m_pwebView = new Mywebview(this);
    m_pwebView->load(QUrl("https://www.baidu.com"));
    setWidget(m_pwebView);
}
